<!-- * list -->
{assign var="clients_list" value=$data.clients_search}
{ext->paging elements=$clients_list items_per_page=$_var.clients_per_page page=$smarty.get.client_list_page_nr assign="page_data"}
{capture name="list"}
	{assign var="ct" value="1"}
	{foreach from=$clients_list item="el"}		
		{if $ct>=$page_data.current_page.from && $ct<=$page_data.current_page.to}
			{include file="admin/modules/client/client_list_item.html"}					
		{/if}
		{math equation="x + 1" x=$ct assign="ct"}	
	{/foreach}	
{/capture}
{include file="admin/modules/client/search_field.html"}
<!-- /* list -->
<table width="100%" cellpadding="0" cellspacing="0" border="6" bordercolor="#DBE1E5" bgcolor="#DBE1E5">
<tr>
<td>
<form name="child_list" action="index.php" enctype="multipart/form-data" method="post">
<input name="admin" type="hidden" value="1">
<input name="mod" type="hidden" value="client">
<input name="act" type="hidden" value="del">
<input name="module" type="hidden" value="clients">
<input name="referer" type="hidden" value="{ext->get_referer}">
{include file="admin/modules/client/client_menu_search.html"}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>

{if $ct>1}
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-bottom:1px solid #D6DBDE ">
	<tr>		
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="70">{t t='Žymėjimas'}</td>	
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="50">{t t='ID'}</td>		
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="120">{t t='Data'}</td>		
		<td style="font-size:9px; color:#4C4C4C; text-align:left; padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE" width="200">{t t='El. pašto adresas'}</td>	
		<td  height="20" style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="50">{t t='Laukai'}</td>
		{ext->class_function class="shop_cart" module="client_history" assign="is_module"}
		{if $is_module == 1}
		<td style="font-size:9px; color:#4C4C4C; text-align:center; border-right:1px solid #D6DBDE" width="100">{t t='Kliento užsakymai'}</td>
		{/if}
		{if $smarty.get.client_form_field_name}
		<td style="font-size:9px; color:#000; text-align:left; padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE" width="150">
		{$smarty.get.client_form_field_name|truncate:30:"...":true}
		</td>	
		{/if}
		<td style="font-size:9px; color:#4C4C4C; text-align:left; padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE" width="37">{t t='Grupės'}</td>	
		<td style="font-size:9px; color:#4C4C4C; text-align:left; padding:0px 0px 0px 10px; border-right:1px solid #D6DBDE">{t t='Priklauso grupėms'}</td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#D6DBDE"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<span class="this">
{$smarty.capture.list}
</span>
{else}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="50" bgcolor="#FFFFFF" align="center" style="padding:15px">
		{t t='Pagal nurodytus kriterijus nieko neradome'}		
		</td>		
	</tr>
</table>
{/if}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>	
</table>
{include file="admin/modules/client/client_menu_search.html"}
</td>		
</tr>
</form>
</table>
<!--</form>-->




